package netctoss.demo.service;


import org.apache.ibatis.session.RowBounds;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BaseService<T>  {

   
    int deleteByPrimaryKey(Object o);

   
    int delete(T t);

   
    int insert(T t);

   
    int insertSelective(T t);

   
    List<T> selectAll();

   
    T selectByPrimaryKey(Object o);

   
    int selectCount(T t);

   
    List<T> select(T t);

   
    T selectOne(T t);

   
    int updateByPrimaryKey(T t);

   
    int updateByPrimaryKeySelective(T t);

   
    int deleteByExample(Object o);

   
    List<T> selectByExample(Object o);

   
    int selectCountByExample(Object o);

   
    int updateByExample(T t, Object o);

   
    int updateByExampleSelective(T t, Object o);

   
    List<T> selectByExampleAndRowBounds(Object o, RowBounds rowBounds);

   
    List<T> selectByRowBounds(T t, RowBounds rowBounds);
}
